<template>
  <div>
    <h1>AboutIndex</h1>
    <p>
      <button @click="increment">Increment</button>
      <button @click="decrement">Decrement</button>
    </p>
    <p>Count: {{ count }}</p>
  </div>
</template>
<script lang="ts" setup>
import { ref } from 'vue'
const count = ref(0)

// 定义 increment 方法
const increment = () => {
  count.value++
}

// 定义 decrement 方法
const decrement = () => {
  count.value--
}
</script>
